<template>
  <div id="app">
    <!-- <Index /> -->
    <router-view></router-view>
  </div>
</template>
<script>
// import Index from './components/Index.vue'
export default {
  name: "App",
  // components: {
  //   Index
  // }
  mounted() {
    console.log(this.$route)
    // if(this.$router.history.current)
    if (this.$route.name == 'index') {
      this.$router.push("chart")
    }

  }
};
</script>

<style>
html,
body {
  height: 100%;
}

#app {
  height: 100%;
}
</style>
